﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="FAQ.ascx.cs" Inherits="Framework.Module.FAQ.Web.FAQ" %>
<%@ Register Assembly="Framework.Module.MultiLanguage" Namespace="Framework.Module.MultiLanguage.WebControls"
	TagPrefix="cc1" %>
<script language="javascript" type="text/javascript">
	function displayAnswer(id){
		obj = document.getElementById(id);
		if(obj != null){
			if(obj.style.display == "block"){
				obj.style.display = "none";
			}else{
				obj.style.display = "block";
			}
		}
	}
</script>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <th valign="top" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0"> 
          <tr>
            <th  scope="col" style="width: 8px"><img src="/Images/HomePage/blank.gif" width="9" height="9" /></th>
            <th width="100%" scope="col"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <th scope="col"><img src="/Images/HomePage/blank.gif" width="10" height="10" /></th>
              </tr>
              <tr>
                <th height="22" valign="top" class="text5" scope="col"><cc1:MLLabel runat ="server" ID ="lbcontent" LanguageKey ="Content"></cc1:MLLabel> </th>
              </tr>
              <tr>
                <th valign="top" scope="col">
                    <asp:GridView ID="grdQuestion" runat="server" 
			            OnPageIndexChanging="grv_Danhsach_OnPageIndexChanging" 
			            AutoGenerateColumns="False"
				            CellPadding="2" GridLines="None" ShowHeader="False" Width="100%" ForeColor="#804000">
				            <AlternatingRowStyle BackColor="White" Height="10" ForeColor="#284775" />
				            <RowStyle Height="10" BackColor="#F7F6F3" ForeColor="#333333" />
				            <Columns> 
					            <asp:BoundField Visible="False" >
                                    <ItemStyle VerticalAlign="Top" />
                                </asp:BoundField>
					            <asp:TemplateField>
						            <ItemStyle VerticalAlign="Top" />
						            <ItemTemplate>
						                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <th  class="text10" scope="col"><cc1:MLLabel runat ="server" ID ="cauhoi" LanguageKey ="Question" ></cc1:MLLabel> <%# Convert.ToInt32(Container.DataItemIndex.ToString()) +1 %> : </th>
                                          <th height="10" class="text9" scope="col" align = "left">
                                            <div >
                                               <asp:HyperLink ID="lnkQuestion" runat="server"><cc1:MLLabel runat ="server" ID ="linklb" LanguageKey ="link"></cc1:MLLabel></asp:HyperLink>
                                            </div>
                                          </th>
                                        </tr>
                                        <tr >
                                            <th scope = "col"  style ="width:75">&nbsp;</th>
                                            <th scope = "col" align ="left" >
                                                  <div class="text9" style ="text-align:left">
                                                  <asp:Literal ID="litDivAnswer" runat="server" ></asp:Literal>
                                                  </div>
                                            </th>
                                        </tr>
                                        </table>
						            </ItemTemplate>
					            </asp:TemplateField>
				            </Columns>
                            <FooterStyle BackColor="White" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#999999" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Left" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
			            </asp:GridView>
                    
                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <th valign="middle" class="text9" scope="col">&nbsp;</th>
                      <th class="text9" scope="col">&nbsp;</th>
                    </tr>
                    <tr>
                      <th colspan="2" valign="middle" background="/Images/HomePage/line1.jpg" class="text9" scope="col"><img src="/Images/HomePage/blank.gif" width="1" height="1" /></th>
                      </tr>
                    <tr>
                      <th colspan="2" valign="middle" class="text9" scope="col"><img src="/Images/HomePage/blank.gif" width="10" height="10" /></th>
                    </tr>
                    <tr>
                      <th height="22" colspan="2" valign="middle"  align ="center"  class="text5" scope="col"><cc1:MLLabel  runat ="server" ID ="datcauhoilb" LanguageKey ="datcauhoi"></cc1:MLLabel></th>
                    </tr>
                    <tr>
                        <th valign ="middle" scope ="col" align="right"><cc1:MLLabel runat ="server" ID ="lbName" LanguageKey ="Name" CssClass ="text9"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th align="left"><asp:TextBox ID ="txtName" runat ="server" Width = "200"></asp:TextBox>
                            </th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif"></th>
                    </tr>
                    <tr>
                        <th style="height: 24px" align="right" valign ="middle"><cc1:MLLabel runat ="server" ID = "address" CssClass ="text9" LanguageKey ="diachi"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th style="height: 24px" align="left"><asp:TextBox runat ="server" ID ="txtAdd"  Width = "200"></asp:TextBox></th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif"></th>
                    </tr>
                    <tr>
                        <th align="right" valign ="middle"><cc1:MLLabel runat ="server" CssClass ="text9" ID ="lbTel" LanguageKey ="tel"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th align="left"><asp:TextBox runat ="server" ID ="txtTel" Width = "200"></asp:TextBox></th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif"></th>
                    </tr>
                    <tr>
                        <th align="right" valign ="middle"><cc1:MLLabel runat ="server" CssClass ="text9" ID="lbLinhvuc" LanguageKey ="linhvuc"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th align="left">
                            <asp:DropDownList ID="ddlLinhvuc" runat="server" EnableTheming="True"  Width = "200">
                            </asp:DropDownList>
                        </th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif"></th>
                    </tr>
                    <tr>
                        <th align="right"  valign ="middle"><cc1:MLLabel runat ="server" ID ="lbTitle" CssClass ="text9" LanguageKey ="title"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th align="left"><asp:TextBox runat ="server" ID ="txtTitle" Width="300"></asp:TextBox>
                           </th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif" ></th>
                    </tr>
                    <tr>
                      <th valign="middle"  scope="col" align="right" style="height: 74px">
                          <cc1:MLLabel runat ="server"  CssClass ="text9" ID ="lbcon" LanguageKey ="contentlb"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7">
                           </th>
                      <th  scope="col" align ="left" valign="top" style="height: 74px"> 
                        <asp:TextBox ID="txtQuestion" runat="server" Height="89px" Width ="300" TextMode="MultiLine"  Rows = "7"></asp:TextBox>
                      
                      </th>
                    </tr>
                    <tr>
                        <th valign="middle" scope ="col" align ="right"><cc1:MLLabel runat ="server"  CssClass = "text9" ID ="mahoa" LanguageKey ="mahoaurl"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th scope ="col" valign ="middle" align ="left" style ="background-image:url(/Images/HomePage/b.jpg)"><asp:Label runat ="server" ID ="lbmahoa" ForeColor = "blue"></asp:Label> </th>
                    </tr>
                    <tr>
                        <th valign ="middle" scope ="col" align ="right"><cc1:MLLabel runat ="server" CssClass = "text9" ID = "checkurl" LanguageKey ="nhapurl"></cc1:MLLabel><img src ="/Images/HomePage/blank.gif" width ="7"></th>
                        <th scope = "col" valign ="middle" align ="left"><asp:TextBox ID ="txturl" runat ="server"></asp:TextBox>
                        </th>
                    </tr>
                    <tr>
                        <th scope ="col" colspan ="2" style ="height:5"><img src ="/Images/HomePage/blank.gif" ></th>
                    </tr>
                    <tr>
                      <th valign="middle" class="text9" scope="col">&nbsp;</th>
                      <th class="text9" scope="col" align="left" valign ="top">
                        <cc1:MLButton runat="server" ID="btnGui" LanguageKey="btnGui" OnClick="btnGui_Click" />
                         &nbsp; <asp:Label runat ="server" CssClass ="text9" ID = "lbStatus" Visible= "false"></asp:Label>
                      </th>
                    </tr>
                </table></th>
              </tr>
            </table></th>
            <th  scope="col"><img src="/Images/HomePage/blank.gif" width="7" height="7" /></th>
          </tr>
        </table></th>
      </tr>
    </table>
